package com.crm.model.entity.MessageManager;

import java.util.Date;

public class Message {
    private String messageId;

    private String senderId;

    private Date sendTm;

    private String sendCompanyId;

    private Integer sendDeleteStatus;

    private String themeId;

    private String theme;

    private Integer sendNewsReadType;

    private Integer newsType;

    private Integer markImportant;

    private String receiverId;

    private Date receiverTm;

    private String receiverCompanyId;

    private Integer receiverNewsReadType;

    private Integer receiverDeleteStatus;

    private String createPeopleId;

    private Date createTm;

    private String updatePeopleId;

    private Date updateTm;

    private Integer deleteStatus;

    private String pMessageId;

    private String newsDetail;

    public Message(String messageId, String senderId, Date sendTm, String sendCompanyId, Integer sendDeleteStatus, String themeId, String theme, Integer sendNewsReadType, Integer newsType, Integer markImportant, String receiverId, Date receiverTm, String receiverCompanyId, Integer receiverNewsReadType, Integer receiverDeleteStatus, String createPeopleId, Date createTm, String updatePeopleId, Date updateTm, Integer deleteStatus, String pMessageId) {
        this.messageId = messageId;
        this.senderId = senderId;
        this.sendTm = sendTm;
        this.sendCompanyId = sendCompanyId;
        this.sendDeleteStatus = sendDeleteStatus;
        this.themeId = themeId;
        this.theme = theme;
        this.sendNewsReadType = sendNewsReadType;
        this.newsType = newsType;
        this.markImportant = markImportant;
        this.receiverId = receiverId;
        this.receiverTm = receiverTm;
        this.receiverCompanyId = receiverCompanyId;
        this.receiverNewsReadType = receiverNewsReadType;
        this.receiverDeleteStatus = receiverDeleteStatus;
        this.createPeopleId = createPeopleId;
        this.createTm = createTm;
        this.updatePeopleId = updatePeopleId;
        this.updateTm = updateTm;
        this.deleteStatus = deleteStatus;
        this.pMessageId = pMessageId;
    }

    public Message(String messageId, String senderId, Date sendTm, String sendCompanyId, Integer sendDeleteStatus, String themeId, String theme, Integer sendNewsReadType, Integer newsType, Integer markImportant, String receiverId, Date receiverTm, String receiverCompanyId, Integer receiverNewsReadType, Integer receiverDeleteStatus, String createPeopleId, Date createTm, String updatePeopleId, Date updateTm, Integer deleteStatus, String pMessageId, String newsDetail) {
        this.messageId = messageId;
        this.senderId = senderId;
        this.sendTm = sendTm;
        this.sendCompanyId = sendCompanyId;
        this.sendDeleteStatus = sendDeleteStatus;
        this.themeId = themeId;
        this.theme = theme;
        this.sendNewsReadType = sendNewsReadType;
        this.newsType = newsType;
        this.markImportant = markImportant;
        this.receiverId = receiverId;
        this.receiverTm = receiverTm;
        this.receiverCompanyId = receiverCompanyId;
        this.receiverNewsReadType = receiverNewsReadType;
        this.receiverDeleteStatus = receiverDeleteStatus;
        this.createPeopleId = createPeopleId;
        this.createTm = createTm;
        this.updatePeopleId = updatePeopleId;
        this.updateTm = updateTm;
        this.deleteStatus = deleteStatus;
        this.pMessageId = pMessageId;
        this.newsDetail = newsDetail;
    }

    public Message() {
        super();
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId == null ? null : messageId.trim();
    }

    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId == null ? null : senderId.trim();
    }

    public Date getSendTm() {
        return sendTm;
    }

    public void setSendTm(Date sendTm) {
        this.sendTm = sendTm;
    }

    public String getSendCompanyId() {
        return sendCompanyId;
    }

    public void setSendCompanyId(String sendCompanyId) {
        this.sendCompanyId = sendCompanyId == null ? null : sendCompanyId.trim();
    }

    public Integer getSendDeleteStatus() {
        return sendDeleteStatus;
    }

    public void setSendDeleteStatus(Integer sendDeleteStatus) {
        this.sendDeleteStatus = sendDeleteStatus;
    }

    public String getThemeId() {
        return themeId;
    }

    public void setThemeId(String themeId) {
        this.themeId = themeId == null ? null : themeId.trim();
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme == null ? null : theme.trim();
    }

    public Integer getSendNewsReadType() {
        return sendNewsReadType;
    }

    public void setSendNewsReadType(Integer sendNewsReadType) {
        this.sendNewsReadType = sendNewsReadType;
    }

    public Integer getNewsType() {
        return newsType;
    }

    public void setNewsType(Integer newsType) {
        this.newsType = newsType;
    }

    public Integer getMarkImportant() {
        return markImportant;
    }

    public void setMarkImportant(Integer markImportant) {
        this.markImportant = markImportant;
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId == null ? null : receiverId.trim();
    }

    public Date getReceiverTm() {
        return receiverTm;
    }

    public void setReceiverTm(Date receiverTm) {
        this.receiverTm = receiverTm;
    }

    public String getReceiverCompanyId() {
        return receiverCompanyId;
    }

    public void setReceiverCompanyId(String receiverCompanyId) {
        this.receiverCompanyId = receiverCompanyId == null ? null : receiverCompanyId.trim();
    }

    public Integer getReceiverNewsReadType() {
        return receiverNewsReadType;
    }

    public void setReceiverNewsReadType(Integer receiverNewsReadType) {
        this.receiverNewsReadType = receiverNewsReadType;
    }

    public Integer getReceiverDeleteStatus() {
        return receiverDeleteStatus;
    }

    public void setReceiverDeleteStatus(Integer receiverDeleteStatus) {
        this.receiverDeleteStatus = receiverDeleteStatus;
    }

    public String getCreatePeopleId() {
        return createPeopleId;
    }

    public void setCreatePeopleId(String createPeopleId) {
        this.createPeopleId = createPeopleId == null ? null : createPeopleId.trim();
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public String getUpdatePeopleId() {
        return updatePeopleId;
    }

    public void setUpdatePeopleId(String updatePeopleId) {
        this.updatePeopleId = updatePeopleId == null ? null : updatePeopleId.trim();
    }

    public Date getUpdateTm() {
        return updateTm;
    }

    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getpMessageId() {
        return pMessageId;
    }

    public void setpMessageId(String pMessageId) {
        this.pMessageId = pMessageId == null ? null : pMessageId.trim();
    }

    public String getNewsDetail() {
        return newsDetail;
    }

    public void setNewsDetail(String newsDetail) {
        this.newsDetail = newsDetail == null ? null : newsDetail.trim();
    }
}